package com.innovatio.validator.annotations;


import com.innovatio.validator.handlers.ValidateNotNullHandler;
import com.innovatio.utils.general.CommonsUtils;

import java.lang.annotation.Target;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * This code is property of Innovatio Software Solutions, Inc.
 * User: Edxe
 * Date: Jul 6, 2009
 * Time: 3:19:24 AM
 */
@Target(java.lang.annotation.ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Validation(value=ValidateNotNullHandler.class)
public @interface ValidateNotNull {
    boolean addOnEmptyConstraint() default false;
    String i18nBundleKey() default "validation_notnull";
}
